/**
 * CommonRouter是所有Admin路由，以及侧边栏的所有导航
 */
import { JsonRoute } from "./index";
import { VideoCameraOutlined, ThunderboltOutlined } from "@ant-design/icons-vue";
import DashBoard from "@/views/@Admin/DashBoard/DashBoard.vue";
const CommonRouter: Array<JsonRoute> = [
  {
    path: "DashBoard",
    name: "DashBoard",
    title: "图表示例",
    icon: <ThunderboltOutlined />,
    component: () => import("../views/@Admin/DashBoard/DashBoard.vue"),
  },
  {
    path: "Order",
    name: "Order",
    title: "订单",
    icon: <ThunderboltOutlined />,
    component: () => import("../views/@Admin/Order/TableExample.vue"),
  },
  {
    path: "Category",
    name: "Category",
    title: "分类",
    icon: <ThunderboltOutlined />,
    component: () => import("../views/@Admin/Category/TableExample.vue"),
  },
  {
    path: "Product",
    name: "Product",
    title: "商品",
    icon: <ThunderboltOutlined />,
    component: () => import("../views/@Admin/Product/TableExample.vue"),
  },
  {
    path: "Banner",
    name: "Banner",
    title: "轮播图",
    icon: <ThunderboltOutlined />,
    component: () => import("../views/@Admin/Banner/TableExample.vue"),
  },
];
export default CommonRouter;
